package com.example.dish_model.dto;

import com.example.dish_model.entity.Dish;
import com.example.dish_model.entity.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: sjz
 * @since: 2024/7/6 14:38
 */
@Data
public class DishDTO extends Dish {

    //菜品对应的口味数据(添加菜品时选择口味)
    private List<DishFlavor> flavors = new ArrayList<>();

    private String categoryName;

    private Integer copies;

}
